package cn.edu.cqytxy.entity;

/**
 * 侦察机
 *
 * @author yinjw
 */
public class Spotter extends Aircraft{

    public final static String TYPE = "侦察机";
    public final static String SPECIAL = "侦查范围";

    /**
     * 侦查范围
     */
    private String range;

    /**
     * 执行任务
     *
     * @param num   执行数量
     */
    @Override
    public void toTask(Integer num) {
        System.out.println("派出了"+num+"架"+ this.getName() + "侦察机进行侦察任务执行");
    }

    public String getRange() {
        return range;
    }

    public void setRange(String range) {
        this.range = range;
    }
}
